package leaf.science.ui.camera
{

import leaf.science.Global;


public class DemoToolTip extends DemoToolTipSkin
{

	public function DemoToolTip( demoId:uint )
	{
		var data:XML = ( Global.DATA_DEMOS..demo.( id == demoId ))[0]; 
		
		this.title.autoSize = "left";
		this.title.text = data.title;
		this.info.text = data.text;		
	}
	
}
}